/**
 * @description 富文本框
 * @auth 韩
 */

import TextArea from "antd/lib/input/TextArea";
import { useState } from "react";


const ZCTextArea = ({ rows = 4, maxLength = 6, ...props }) => {

    const [value, setValues] = useState(props.defaultValue || "");

    const onChange = (val) => {
        console.log(val)
    }


    return (
        <TextArea onChange={onChange} defaultValue={props.defaultValue || ""} allowClear {...props} />
    )
}

export default ZCTextArea;